/****************************/
/*      style rewrite       */
/****************************/
$theme_color:#ff6b08;
$title_color: #666666;
$text_color: #2a2a2a;


/****************************/
/*      style rewrite       */
/****************************/
main{
    h1{
    margin: 0;
    color: $theme_color;
    font-size: 30px;
    line-height: 34px;
    }
    
    h2{
    margin: 0;
    color: $theme_color;
    font-size: 18px;
    line-height: 22px;
    font-weight: normal;
    }
    
    .p_3{
    margin-top: 0;
    color:$text_color;
    font-size: 14px;
    line-height: 25px;
    }
    
    .p_4{
    margin: 0;
    color:$text_color;
    font-size: 12px;
    line-height: 16px;
    }
}

/****************************/
/*       layout             */
/****************************/
main{
    box-sizing: border-box;
    padding-top: 39px;
    padding-bottom: 25px;
}
.news_top{
    h1{
        margin-left: 15px;
        margin-bottom: 37px;
    }
    .top_area{
        margin-bottom: 87px;
        .img_box{
            vertical-align: top;
            display: inline-block;
            margin: 0 auto;
            font-size: 0;
            width: 100%;
            overflow: hidden;
            img{
                width: 100%;
            }
        }
    }
}
.news_part{
    .row{
        h2{
            color: $title_color;
            cursor: pointer;
            &:hover{
                color: $theme_color;
            }
        }
        padding-bottom: 38px;
        .n_time{
            margin-top: 15px;
            margin-bottom: 11px;
            line-height: 30px;
        }
        .n_text{
            margin-bottom: 8px;
        }
        .n_button{
            width: 98px;
            height: 32px;
            cursor: pointer;
            overflow: hidden;
            text-align: center;
            border-radius: 16px;
            border: 1px solid $theme_color;
            p{
                line-height: 32px;
                color: $theme_color;
                margin: 0;
            }

            &:hover{
                background-color: $theme_color;
                p{
                    color: white;
                }
            }
        }
    }
    .img_box{
        margin: 0 auto;
        margin-bottom: 10px;
        box-sizing: border-box;
        padding: 5px;
        border-radius: 3px;
        border: 1px solid #dddddd;
        width: 100%;
        max-width: 425px;
        overflow: hidden;
        img{
            width: 100%;
        }
    }
}

.line{
    width: 100%;
    height: 1px;
    background-image: url("../img/news/line.jpg");
    background-repeat: repeat;
    margin-bottom: 35px;
}
.page_turn{
    text-align: center;
    .page_area{
        font-size: 0;
        display: inline-block;
        vertical-align: top;
        height: 32px;
        border: 1px solid #dddddd;
        border-radius: 3px;
        overflow: hidden;
        .page_box{
            display: inline-block;
            vertical-align: top;
            padding: 8px 12px 10px;
            border-right: 1px solid #dddddd;
            cursor: pointer;
            p{
                @extend .p_4;
                line-height: 30px;
                color: #414141;
            }

            &:hover{
                background-color: #e34637;
                p{
                    color: white;
                }
            }
        }

    }
}
